﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using AttributeRouting;
using AttributeRouting.Web.Mvc;
using LuxDiner.Logic.Financial;
using LuxDiner.Model.Financial;
namespace LuxDiner.Web.Management.Areas.Financial.Controllers
{
    [RouteArea("Financial")]
    [RoutePrefix("Payment")]
    [Authorize(Roles = "Admin,Payments")]
    public class PaymentController : Controller
    {
        [Route("")]
        public ActionResult Index()
        {
            var banks = BankLogic.GetBanks();
            ViewBag.Banks = banks;
            return View();
        }

        [Route("VBankWater/{bankID:int}")]
        public ActionResult VBankWater(int bankID) 
        {
            ViewBag.BankID = bankID;
            return PartialView();
        }
    }
}
